<template>
  <div class="title">
    <span>{{ name }}</span>
  </div>
</template>
  

<script>
export default {
  props: {
    name: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.title {
  height: 5vh;
  background: url('../../assets/img/common/homeTitle.png') no-repeat;
  background-position: center;
  background-size: 108% 120%;
  display: flex;
  justify-content: center;
  align-items: center;
  span {
    font-size: 2.4vh;
    letter-spacing: 0.2vh;
    font-family: YouSheBiaoTiHei;
    font-weight: 400;
    color: #ffffff;
  }
}
</style>
  
  